// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.imsl.finance;

import java.util.GregorianCalendar;

// Referenced classes of package com.imsl.finance:
//            BasisPartNASD

class BasisPart30E360 extends BasisPartNASD
{

    BasisPart30E360()
    {
    }

    public int daysBetween(GregorianCalendar gregoriancalendar, GregorianCalendar gregoriancalendar1)
    {
        int i = gregoriancalendar.get(5);
        int j = gregoriancalendar.get(2);
        int k = gregoriancalendar.get(1);
        int l = gregoriancalendar1.get(5);
        int i1 = gregoriancalendar1.get(2);
        int j1 = gregoriancalendar1.get(1);
        if(i == 31)
            i = 30;
        if(l == 31)
            l = 30;
        return (j1 - k) * 360 + (i1 - j) * 30 + (l - i);
    }
}
